import request from '@/utils/request'

// 获取地区微群列表
export function getWechatGroupList(params) {
  return request({
    url: '/hce/contact/group/list.do',
    method: 'GET',
    params,
  })
}

// 添加意见反馈
export function addWechatGroup(data) {
  return request({
    url: '/hce/contact/group/add.do',
    method: 'POST',
    data,
  })
}

// 删除意见反馈
export function deleteWechatGroup(params) {
  return request({
    url: '/hce/contact/group/remove.do',
    method: 'GET',
    params,
  })
}

// 修改意见反馈
export function updateWechatGroup(data) {
  return request({
    url: '/hce/contact/group/update.do',
    method: 'POST',
    data,
  })
}

// 修改意见反馈状态
export function updateWechatGroupStatus(params) {
  return request({
    url: '/hce/contact/group/updateShow.do',
    method: 'GET',
    params,
  })
}
